package com.syt.suan.system.domain.dtos;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(name = "用户登录DTO", description = "包含用户账号与密码的传输对象")
public class UserLoginDTO {
    @Schema(description = "用户账号")
    @NotBlank(message = "账号不能为空")
    private String userAccount;

    @Schema(description = "用户密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
